package com.diudiu.diudiu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serial;
import java.io.Serializable;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Token implements Serializable {
    // id从1开始自动递增
    @Serial
    private static final long serialVersionUID = -490786095830872254L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String tokenValue;
    
    private Long time;

}

